<?php
// parameters
$sKey = (isset($_POST['k'])?$_POST['k']:'');
$sDataStore = $_GET['ds'];
if(!$sKey) {
    print $GLOBALS['_ObjectResponse']->getErrorResponse(103, "Param 'k' is missing");
    exit(1);
}

// enqueue
$oDuilie = new PHPDuilie("simaqian_$sDataStore_cmds");
$aCmd = array(
    "cmd"=>"delete",
    "key"=>$sKey
);
$oDuilie->enqueue($aCmd);


// response
print $GLOBALS['_ObjectResponse']->getResponse(array());

?>